import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        Integer[] array1 = Integers.random(1000, 1000, 9999);
        Integer[] array2 = Arrays.copyOf(array1, array1.length);
        Integer[] array3 = Arrays.copyOf(array1, array1.length);

        InsertionSort.imp1(array1);
        Asserts.test(Integers.isAscOrder(array1));

        InsertionSort.imp2(array2);
        Asserts.test(Integers.isAscOrder(array2));

        InsertionSort.imp3(array3);
        Asserts.test(Integers.isAscOrder(array3));
    }
}
